﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucQC2ben.ascx.cs" Inherits="VINETLIFE.Module.ucQC2ben" %>
<div runat="server" id="divHome">
    <div runat="server" id="divLeft1" visible="false">
        <div class="rightleftads" id="left2ben" style="position: absolute; top: 710px; z-index: 1;">
            <a href='<%=LinkLeft %>' target="_blank" title='quang cao'>
                <img title="quang cao" src="/Media/quang-cao-trai.jpg" width="120" alt="quang cao"
                    border="0"></a>
        </div>
    </div>
    <div runat="server" id="divRight1" visible="false">
        <div class="rightleftads" id="right2ben" style="position: absolute; top: 710px; z-index: 1;">
            <a href='<%=LinkRight %>' target="_blank" title='quang cao'>
                <img src="/Media/quang-cao-phai.jpg" width="120" alt="quang cao" border="0"></a>
        </div>
    </div>
</div>
<div runat="server" id="divPage">
    <div runat="server" id="divLeft2" visible="false">
        <div class="rightleftads" id="left2ben" style="position: absolute; top: 211px; z-index: 1;">
            <a href='<%=LinkLeft %>' target="_blank" title='quang cao'>
                <img title="quang cao" src="/Media/quang-cao-trai.jpg" width="120" alt="quang cao"
                    border="0"></a>
        </div>
    </div>
    <div runat="server" id="divRight2" visible="false">
        <div class="rightleftads" id="right2ben" style="position: absolute; top: 211px; z-index: 1;">
            <a href='<%=LinkRight %>' target="_blank" title='quang cao'>
                <img src="/Media/quang-cao-phai.jpg" width="120" alt="quang cao" border="0"></a>
        </div>
    </div>
</div>
<script type="text/javascript">
<!--
    function rightleftads() {
        if (1210 >= $(window).width()) {
            $('.rightleftads').hide();
        }
        else {
            //1018
            var WDWidth = $(window).width();
            var DocWidth = 1018;
            var leftright = (WDWidth - 1028) / 2;
            var leftsp = leftright - 120 - 3;
            $('#right2ben').css('right', leftsp);
            $('#left2ben').css('left', leftsp);
            $('.rightleftads').show();
        }
    }
    $(window).resize(function () {
        rightleftads();
    });
    rightleftads();
//-->
</script>
<asp:Literal runat="server" ID="ltrScroll"></asp:Literal>